package com.cjk.foundation.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.cjk.foundation.entity.DeviceMgtLogEntity;
import com.cjk.foundation.enums.DeviceMgtType;

@Repository
public interface DeviceMgtLogDao {

	public void insert(@Param("userId") Integer userId, @Param("groupId") Integer groupId, @Param("sn") String sn,
			@Param("logType") DeviceMgtType logType, @Param("logDetail") String logDetail);

	public List<DeviceMgtLogEntity> selectListByCondition(@Param("sn") String sn, @Param("page") Integer page,
			@Param("pageSize") Integer pageSize);

	public Integer selectCountByCondition(@Param("sn") String sn);
}
